package com.example.admindatasource.service;

import com.example.admindatasource.model.vo.DataAndStructVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface IVitalModelFileService {

    /**
     * 文件上传
     * @param file
     * @param request
     * @return
     */
    DataAndStructVO fileUpload(MultipartFile file, HttpServletRequest request);

    /**
     * 对数据、表结构预处理并放入缓存
     * @param startRow 数据开始的行
     * @param request
     */
    DataAndStructVO preprocess(Integer startRow, HttpServletRequest request);
}
